package com.woniuxy.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马世亮
 * @since 2022-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_defect")
public class Defect implements Serializable {

    private static final long serialVersionUID = 1L;
    @Excel(name = "缺陷编号")
    @TableId(value = "defect_id", type = IdType.AUTO)
    private Integer defectId;
    @Excel(name="项目编号")
    private Integer projectId;
    @Excel(name="项目名称")
    private String projectName;
    @Excel(name="缺陷名称")
    private String defectName;
    @Excel(name="缺陷名称")
    private String defectDescription;
    @Excel(name="缺陷优先级编号")
    private Integer defectTypeId;
    @Excel(name="缺陷分类")
    private String defectType;

    private Integer serverityId;
    @Excel(name="缺陷严重程度")
    private String serverity;
    @Excel(name="缺陷编号")
    private Integer priorityId;
    @Excel(name="缺陷优先级")
    private String priority;

    private String forwardStarttime;

    private String forwardEndtime;

    private String fowardWorkHours;

    private Integer defectCreatenameId;

    private String defectCreatename;

    @Excel(name = "创建时间",width = 10)
    private String defectCreattime;

    private Integer defectChoiceId;

    private String defectChoiceName;
    @Excel(name="缺陷状态编号")
    private Integer defectStateId;
    @Excel(name="缺陷状态")
    private String defectStateName;

    private String defectCompletionRate;

    private Integer workHours;

    private Integer defectChangenameId;

    private String defectChangename;

    private String defectChangetime;

    @TableLogic
    private Integer defectDelete;

    private String defectChoiceTime;

    private String defectEndTime;


}
